package com.itheima.service.impl;

import com.itheima.Dao.UserMapper;
import com.itheima.service.UserService;
import com.itheima.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userDao;
    public User findUserById(Integer id) {
        return userDao.findUserById(id);
    }
}
